package priv.conceit.sc.hoxton.common.entity.auth.contractor.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 承包商单位
 * </p>
 *
 * @author conceit
 * @since 2020-11-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("auth_contractor")
public class Contractor implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 单位名称
     */
    private String name;

    /**
     * 单位编号
     */
    private String code;

    /**
     * 地址
     */
    private String address;

    private Long createUserId;

    /**
     * 联系人
     */
    private String linkman;

    /**
     * 联系人 联系方式
     */
    private String linkmanPhoneNumber;

    /**
     * 座机
     */
    private String fixedPhoneNumber;

    /**
     * 联系人职位
     */
    private String position;

    /**
     * 状态(1,"待审核"),(2,"上传资料"),(3,"已审核"),(4,"已删除"),(10,"已拉黑");
     */
    private Integer status;

    private LocalDateTime ctime;

    private LocalDateTime utime;


}
